<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>背景的样式设置</title>
    <style type="text/css">
        body{
                height:500px;
                background:no-repeat url(image/bg.jpg) #00ff00 center center;
            }
    </style>
</head>
<body>
    
</body>
</html>